package demo.pattern.factory.abstractf;

import demo.pattern.factory.entity.DellKeyBoard;
import demo.pattern.factory.entity.HpMouse;
import demo.pattern.factory.entity.KeyBoard;
import demo.pattern.factory.entity.Mouse;

/**
 * @Author: yu.zhou
 * @DateTime: 2023/01/03 16:12
 */
public class HpComputerFactory implements ComputerFactory {

    @Override
    public Mouse createMouse() {
        return new HpMouse();
    }

    @Override
    public KeyBoard createKeyBoard() {
        return new DellKeyBoard();
    }
}
